Document HP-UX build support (#155)
authorMichael Osipov <michael.osipov@siemens.com>
Wed, 8 May 2019 00:02:19 +0000 (02:02 +0200)
committerSteven G. Johnson <stevenj@mit.edu>
Wed, 8 May 2019 00:02:19 +0000 (20:02 -0400)
README.md

index 62236829433c8e04c539f957041d8102833833e7..deb96be543860eaa80e8f5c40a61e5cb2dfcf758 100644 (file)
--- a/README.md
+++ b/README.md
@@ -33,6 +33,19 @@ the included `LICENSE.md` file for more detailed information.
 
 For compilation of the C library run `make`.
 
+### Compiling on HP-UX
+Have HP aCC, GNU Make, and either GNU coreutils (`install`) or GNU libtool
+installed.
+
+```
+$ gmake CC=/opt/aCC/bin/aCC CFLAGS="" PICFLAG='+z' C99FLAG=-Ae INSTALL=.. \
+  WCFLAGS='+w' LDFLAG_SHARED=-b SOFLAG="-Wl,+h" \
+  prefix=$PREFIX libdir=$PREFIX/lib/hpux32 install
+```
+
+where `INSTALL` points either to `install` or `install-sh`, `PREFIX` points to
+your preferred target, e.g., `/opt` in System V Unix.
+
 ## General Information
 
 The C library is found in this directory after successful compilation